﻿using System;
using System.Net;

namespace ACEPAPI
{
    /// <summary>
    /// ESC/POS 客户端 - 基础类
    /// </summary>
    public abstract class EPClientBase : IDisposable
    {
        /// <summary>
        /// 当前服务端IP地址
        /// </summary>
        public IPAddress IPAddress { get; set; }

        /// <summary>
        /// 当前服务端IP端口
        /// </summary>
        public int IPPort { get; set; } = 9100;

        /// <summary>
        /// 释放资源
        /// </summary>
        public abstract void Dispose();
    }
}
